package cn.kone.service;

import cn.kone.pojo.domain.Order;
import cn.kone.pojo.domain.OrderBill;
import cn.kone.pojo.dto.LocationRedisDTO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author yuyu
 * @since 2024-03-25
 */
public interface IOrderService extends IService<Order> {

    Object addOrder(Order order);

    Object updateOrder(String orderNo);

    Object getOrder();

    Object pullOrder();

    Object killOrder(String orderNo);

    Object updateOrderStatus(String orderNo);

    Object loadOrder();

    Object loadOrderLocation(String orderNo);

    Object startDrivingHandle(String orderNo);

    Object LocationRedis(LocationRedisDTO locationRedisDTO);

    Object getLocationRedis(String orderNo);

    Object getOrderDetail(String orderNo);

    Object endDrivingHandle(String orderNo);

    Object confirmFree(OrderBill orderBill);

    Object sendorderBill(String orderNo);
}
